#ifndef LOCKABLE_H
#define LOCKABLE_H

#include <QMutex>

class Lockable {
	mutable QMutex mutex;
	mutable bool locked;
public:
	Lockable();
	void lock() const;
	void unlock() const;
	bool isLocked() const;
};

#endif

